package A14;

public class WeixinPay extends Payment {
    private String number; // 微信号/绑定手机号

    public WeixinPay(double amount, String number) {
        super(amount);
        this.number = number;
    }

    // getter/setter
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
}